//word
//wordconst.h
//#include "wordconst.h"
#if !defined _WORDCONST_H
#define _WORDCONST_H

#define wdWord9TableBehavior				1L
#define wdAutoFitFixed						0L
#define wdCharacter							1L
#define wdLine								5L
#define wdStory								6L
#define wdWindow							11L
#define wdParagraph							4L
#define wdExtend							1L
#define wdCell								12L
#define wdNumberOfPagesInDocument			4L
#define	wdScreen							7L
#define wdPageBreak							7L
#define wdSectionBreakNextPage				2L
#define wdGoToPage							1L
#define wdGoToFirst							1L
#define wdFieldPage							33L
#define wdFieldNumPages						26L
#define wdGoToNext							2L

#define wdPaneNone							0
#define wdNormalView						1
#define wdOutlineView						2
#define wdPrintView							3
#define wdSeekCurrentPageHeader				9
#define wdSeekCurrentPageFooter				10
#define wdRelativeVerticalPositionParagraph	2
#define wdCellAlignVerticalCenter			1
#define wdPreferredWidthPoints				3
#define wdAllowOnlyFormFields				2

#define wdActiveEndPageNumber				3
#define wdRelativeHorizontalPositionColumn	2
#define CM_TO_PT							28.35
#define wdAlignParagraphLeft				0
#define wdAlignParagraphCenter				1
#define wdAlignParagraphRight				2





	COleVariant	vFalse((BYTE)false), vTrue((BYTE)true), vOptional(DISP_E_PARAMNOTFOUND, VT_ERROR);
	COleVariant vwdWindow(wdWindow);
	COleVariant vwdParagraph(wdParagraph);
	COleVariant vwdScreen(wdScreen);
	COleVariant vwdNumberOfPagesInDocument(wdNumberOfPagesInDocument); 
	COleVariant vwdWord9TableBehavior(wdWord9TableBehavior),
		vwdAutoFitFixed(wdAutoFitFixed);
	COleVariant vwdStory(wdStory), vwdLine(wdLine),
		vwdTable(15L), vwdCell(wdCell),vwdCharacter(wdCharacter);
	COleVariant	vwdExtend(wdExtend), vMove((short)false);
	COleVariant	vOne(1L), vTwo(2L),vThree(3L),vFour(4L),
		vFive(5L),vSix(6L),vSeven(7L),vEight(8L),
		vNine(9L),vTen(10L),vEleven(11L), vTwelve(12L),
		vThirteen(13L), vFourteen(14L), vFifteen(15L),
		vSixteen(16L), vSeventeen(17L), vEighteen(18L),
		vNineteen(19L), vTwenty(20L), vTwentyNine(29L),
		vThirty(30L), vForty(40L), vFifty(50L);
	COleVariant vwdSectionBreakNextPage(wdSectionBreakNextPage), vwdPageBreak(wdPageBreak);
	COleVariant vwdGoToPage(wdGoToPage),vwdGoToFirst(wdGoToFirst);
	COleVariant vwdFieldPage(wdFieldPage),vwdFieldNumPages(wdFieldNumPages);
	COleVariant vwdGoToNext(wdGoToNext);
#endif